package cn.com.eado.contentproviderdemo;

import android.net.Uri;

/**
 * Created by lcy on 2016/1/21.
 */
public class Images {
    /*Data Field*/
//    public static final String ID = "_id";
//    public static final String TITLE = "_title";
//    public static final String ABSTRACT = "_abstract";
//    public static final String URL = "_url";

    public static final String IMAGEID = "imageid";
    public static final String PICTURE_PATH = "path";
    public static final String DATETIME = "datetime";
    public static final String PLACE_NAME = "place";
    public static final String MAX_TEMP = "maxtemp";
    public static final String MIN_TEMP = "mintemp";

    /*Default sort order*/
    public static final String DEFAULT_SORT_ORDER = "_id asc";

    /*Call Method*/
    public static final String METHOD_GET_ITEM_COUNT = "METHOD_GET_ITEM_COUNT";
    public static final String KEY_ITEM_COUNT = "KEY_ITEM_COUNT";

    /*Authority*/
    public static final String AUTHORITY = "cn.com.eado.mycontentprovider";

    /*Match Code*/
    public static final int INFO = 1;
    public static final int INFO_PATH = 2;
//    public static final int ITEM_POS = 3;

    /*MIME*/
    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.shy.luo.article";
    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.shy.luo.article";

    /*Content URI*/
    public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/info");//操作info的所有字段；
}
